<template>
  <div>
    <input type="text" :value="msg" @input="msg = $event.target.value" /><br />
    <!-- <input
      type="checkbox"
      name=""
      id=""
      :checked="msg"
      @checked="msg = $event.target.value"
    /> -->
  </div>
</template>

<script>
export default {
  name: 'App',
  data() {
    return {
      msg: 'Hello',
    }
  },
  methods: {
    // fn(e) {
    //   console.log(e.target.value)
    // },
  },
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
